package com.wx.gof.principle.Interfacesegregation;

/**
 * @ClassName Animal
 * @Author wx
 * @Description 动物行为接口
 * @Date 2018-12-02-17:21
 */
public interface Animal {
    /**
     * @methodName: eat
     * @author: wx
     * @description: 吃
     * @param 
     * @date: 2018/12/2
     * @return: void
     */
    void eat();
    /**
     * @methodName: fly
     * @author: wx
     * @description: 飞
     * @param 
     * @date: 2018/12/2
     * @return: void
     */
    void fly();
    /**
     * @methodName: swim
     * @author: wx
     * @description: 游泳
     * @param
     * @date: 2018/12/2
     * @return: void
     */
    void swim();
}
